(function () {
    'use strict';

    angular
        .module('app.UserProfile')
        .controller('UserProfileController', UserProfileController);

    UserProfileController.$inject = ['logger','$state','$rootScope','UserContextData','$mdDialog'];
    /* @ngInject */
    function UserProfileController(logger, $state, $rootScope, UserContextData,$mdDialog) {
        var vm = this;
        vm.title = 'UserProfile';
        vm.user = "";
        vm.password = "";
        vm.ErrorMessage = "";
        vm.UserProfileClick = UserProfileClick;

        activate();
        
        function activate() {
        }

        function UserProfileClick() {
           
        };
            
        function showWait() {
            $mdDialog.show({
                controller: 'LoginController',
                template: '<md-dialog style="background-color:transparent;box-shadow:none">' +
                            '<div layout="row" layout-sm="column" layout-align="center center" aria-label="wait">' +
                                '<md-progress-circular md-mode="indeterminate" class="md-accent"></md-progress-circular>' +
                            '</div>' +
                         '</md-dialog>',
                parent: angular.element(document.body),
                clickOutsideToClose: false,
                fullscreen: false
            })
            .then(function (answer) {

            });
        }
    }
})();


